import AdminLayout from '../backend/AdminLayout.vue';
import Dashboard from '../backend/Dashboard.vue';
import UserList1 from '../backend/usermanage/Ulist1.vue'
import Posts1 from '../backend/postsmanage/ManagerInfo.vue'
import Posts2 from '../backend/postsmanage/HotelInfo.vue'
import Posts3 from '../backend/postsmanage/UserInfo.vue'
const backendRouter = [
    {
        path: '/admin',
        component: AdminLayout,
        children: [
            { path: '', component:Dashboard },
            { path: 'dashboard', name: 'Dashboard', component: Dashboard },
            { path: 'userlist1', component: UserList1 },
            { path: 'posts1', component: Posts1 },
            { path: 'posts2', component: Posts2 },
            { path: 'posts3', component: Posts3 },
        ]
    }
];

export default backendRouter;